<?php

include ('header.php');

if (!$userIsAdmin) {
    echo 'Ne mozete videti ovu stranicu, nemate privilegije.';
} else {
    $smarty->assign('kategorije', getVideoCategories());
    $smarty->display('video_admin.tpl');
}

include ('footer.php');
?>
